namespace WB.Mvc.Forms
{
	/// <summary>
	/// Provides strategies for creating instances of <see cref="FieldGroup"/>
	/// from a model.
	/// </summary>
	public interface IFieldGroupStrategyProvider
	{
		/// <summary>
		/// Get a <see cref="IFieldGroupStrategy"/> for creating
		/// a <see cref="FieldGroup"/> from <paramref name="model"/>.
		/// </summary>
		IFieldGroupStrategy GetStrategy(object model);
	}
}